package view;

import javax.faces.component.UICommand;
import javax.faces.component.UIData;

public class ListView implements IListView{

	private UICommand idCmd;
	private UIData dataTable;
	
	
	public ListView() {
		super();
		System.out.println("creating ListView");
	}

	public UICommand getIdCmd() {
		return idCmd;
	}

	public void setIdCmd(UICommand idCmd) {
		this.idCmd = idCmd;
	}

	public UIData getDataTable() {
		return dataTable;
	}

	public void setDataTable(UIData dataTable) {
		this.dataTable = dataTable;
	}

	public String getIdCmdValue() {
		return idCmd.getValue().toString();
	}

	public void addRow(int id, String s) {
		
	}

	public String getCurrentValue() {
		return null;
	}

	public void setId(int id) {
	
	}

	public void setIdCmdValue(String s) {
	
	}

}
